package org.samcolon.log4j2_demo1;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @author: Sam.zhang
 * @date: 2022/2/9 - 18:42
 */

@Slf4j
@Component
public class Task {
    @Scheduled(cron = "* * * * * ?")
    public void updateCompanyStatus(){
        log.debug("1234567890qwertyuiopasdfghjklzxcvbnm");

    }
}
